package com.sunlee.common.service.dto;

import com.sunlee.common.core.utils.TreeNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 第三方分类表
 *
 * @author sunlee
 * @date 2023-03-06
 */
@Data
@ApiModel(value = "第三方分类表")
public class ThirdCategoryDTO extends TreeNode<ThirdCategoryDTO> implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "第三方分类id")
    private String categoryId;

    @ApiModelProperty(value = "父分类ID（0表示无父分类）")
    private Long pid;

    @ApiModelProperty(value = "分类等级")
    private Integer level;

    @ApiModelProperty(value = "来源（0：第一PPT）")
    private Integer source;

    @ApiModelProperty(value = "分类名称（禁止二次修改）")
    private String name;

    @ApiModelProperty(value = "状态（0无效 1有效）")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "修改时间")
    private Date updateDate;

    @ApiModelProperty(value = "创建人")
    private Long creator;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "是否选中")
    private Boolean choose;
}
